import { createRouter, createWebHashHistory } from 'vue-router';
import HomeView from '../views/HomeView.vue';

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'aa',
      component: () => import('../views/new/index.vue'),
    },
    {
      path: '/old',
      name: 'a',
      component: HomeView,
    },
    {
      path: '/zitie',
      name: 'zitie',
      component: () => import('../views/zitie/index.vue'),
    },
    {
      path: '/ai',
      name: 'ai',
      component: () => import('../views/ai/index.vue'),
    },
    {
      path: '/hotel',
      name: 'hotel',
      component: () => import('../views/hotel/index.vue'),
    },
    {
      path: '/editor',
      name: 'editor',
      component: () => import('../views/editor/index.vue'),
    },
    {
      path: '/oss',
      name: 'oss',
      component: () => import('../views/OSSFileManager.vue'),
    },
  ],
});

export default router;
